import React from 'react';
import ReactDOM from 'react-dom';

import registerServiceWorker from './registerServiceWorker';


import {Provider} from 'react-redux'
import {createStore,compose, applyMiddleware} from 'redux'
import Reducer from './reducer'
import Utility from './other/Utility'
import thunk from 'redux-thunk'
import './index.css';

const store = createStore(Reducer,  (window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose)(applyMiddleware(thunk)));

ReactDOM.render(<Provider store={store}><Utility/></Provider>,
    document.getElementById('root'));

registerServiceWorker();
